public class Animal {
    String name;

    int age;

    public Animal(String name, int age) {
        this.name = name;
        this.age = age;
    }

    public Animal() {

    }

    public void eat() {
        System.out.println("吃大米");
    }

    public void sleep() {
        System.out.println("睡小觉!!");
    }

    public void bark() {
        System.out.println("哈哈哈");

    }
}
